/**
 * com.cnhis.his.customer.mapper.Val1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Val1.java
 * @author 刘武
 * @version 0.1
 * @todo	Val1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-01 01:39:27
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Val1 extends BaseVO implements java.io.Serializable{

	private java.lang.Integer val01;
	private java.lang.Integer vaa01;
	private java.lang.Integer bbx01;
	private java.lang.String bbx05;
	private java.lang.String val05;
	public Val1(){
	}

	public Val1(
		java.lang.Integer val01
	){
		this.val01 = val01;
	}



	public void setVal01(java.lang.Integer value) {
		this.val01 = value;
	}	
	public java.lang.Integer getVal01() {
		return this.val01;
	}

	public void setVaa01(java.lang.Integer value) {
		this.vaa01 = value;
	}	
	public java.lang.Integer getVaa01() {
		return this.vaa01;
	}

	public void setBbx01(java.lang.Integer value) {
		this.bbx01 = value;
	}	
	public java.lang.Integer getBbx01() {
		return this.bbx01;
	}

	public void setBbx05(java.lang.String value) {
		this.bbx05 = value;
	}	
	public java.lang.String getBbx05() {
		return this.bbx05;
	}

	public void setVal05(java.lang.String value) {
		this.val05 = value;
	}	
	public java.lang.String getVal05() {
		return this.val05;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Val01").append("='").append(getVal01()).append("' ");	
			   buffer.append("Vaa01").append("='").append(getVaa01()).append("' ");	
			   buffer.append("Bbx01").append("='").append(getBbx01()).append("' ");	
			   buffer.append("Bbx05").append("='").append(getBbx05()).append("' ");	
			   buffer.append("Val05").append("='").append(getVal05()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Val1) ) return false;
		 Val1  castOther = ( Val1) other;  
		 return 
					( (this.getVal01()==castOther.getVal01()) ||( this.getVal01()!=null && castOther.getVal01()!=null && this.getVal01().equals(castOther.getVal01()) ) )
					&&( (this.getVaa01()==castOther.getVaa01()) ||( this.getVaa01()!=null && castOther.getVaa01()!=null && this.getVaa01().equals(castOther.getVaa01()) ) )
					&&( (this.getBbx01()==castOther.getBbx01()) ||( this.getBbx01()!=null && castOther.getBbx01()!=null && this.getBbx01().equals(castOther.getBbx01()) ) )
					&&( (this.getBbx05()==castOther.getBbx05()) ||( this.getBbx05()!=null && castOther.getBbx05()!=null && this.getBbx05().equals(castOther.getBbx05()) ) )
					&&( (this.getVal05()==castOther.getVal05()) ||( this.getVal05()!=null && castOther.getVal05()!=null && this.getVal05().equals(castOther.getVal05()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getVal01() == null ? 0 : this.getVal01().hashCode() );
				  result = 37 * result + (getVaa01() == null ? 0 : this.getVaa01().hashCode() );
				  result = 37 * result + (getBbx01() == null ? 0 : this.getBbx01().hashCode() );
				  result = 37 * result + (getBbx05() == null ? 0 : this.getBbx05().hashCode() );
				  result = 37 * result + (getVal05() == null ? 0 : this.getVal05().hashCode() );
         return result;
	} 
	
}
